ClockSetTimeBase
The Movie Toolbox calls your component'sClockSetTimeBase
function when an application creates a time base that uses your clock component. Thetb
parameter indicates the time base that is associated with your clock.
pascal ComponentResult ClockSetTimeBase (ComponentInstance aClock, TimeBase tb);
aClock
- Specifies the clock for the operation. Applications obtain this identifier from the Component Manager's
OpenComponent
function.tb
- Specifies the time base that is associated with the clock.
DESCRIPTION
Your clock component may need to know its time base if the rate or time value of the time base can be changed without using Movie Toolbox functions. This could be the case if your clock supports an external clock. Under these circumstances, the Movie Toolbox cannot use theClockRateChanged
andClockTimeChanged
functions (described on page 11-14 and page 11-13, respectively) to alert your component to changes in its environment. Instead, your component can use the time base provided here to seed theGetFirstCallBack
function, described on page 11-18, and then scan all its associated callback functions.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help